package com.mike.jdbc;


import org.mariadb.jdbc.internal.com.read.dao.Results;

import java.sql.*;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args ) throws ClassNotFoundException, SQLException {
        Class.forName("org.mariadb.jdbc.Driver");
        Connection dm = DriverManager.getConnection("jdbc:mysql://172.31.4.27:3306/gamebox_content?autoReconnect=true&useUnicode=true&characterEncoding=utf-8","root","root@2014");

        ResultSet rs = dm.prepareStatement("select * from content_banner").executeQuery();
        System.out.println("args = [" + args + "]");
    }
}
